<%-- 
    Document   : index
    Created on : 10-19-2013, 05:11:51 PM
    Author     : javaee
--%>


<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Login</title>
    </head>
    <body>
        <form action="${pageContext.servletContext.contextPath}/srvLogin" method="POST">
            <table border="1" cellspacing="5" cellpadding="5">
                
                <tbody>
                    <tr>
                        <td>Usuario:</td>
                        <td><input type="text" name="txtUsuario" value="" size="30" /></td>
                    </tr>
                    <tr>
                        <td>Clave:</td>
                        <td><input type="password" name="txtClave" value="" size="30" /></td>
                    </tr>
                    <tr>
                        <td colspan="2"><input type="reset" value="Cancelar" />&nbsp;&nbsp;<input type="submit" value="Ingresar" /></td>
                        
                    </tr>
                </tbody>
            </table>
            <ul style="color: red">
            <c:if test="${not empty Error}">
                    <li>${Error}</li>
              <c:remove scope="session" var="Error"/>
            </c:if>
            </ul>

        </form>
    </body>
</html>
